package com.qqtop10.manager.service.impl;

import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.qqtop10.manager.dao.BarCodeMapper;
import com.qqtop10.manager.model.BarCode;
import com.qqtop10.manager.service.BarCodeService;

@Service("barCodeService")
public class BarCodeServiceImpl implements BarCodeService {

	@Autowired
	private BarCodeMapper barCodeMapper;

	@Override
	public List<Object> selectBySelective(Map<String, Object> map) {
		return barCodeMapper.selectBySelective(map);
	}

	@Override
	public int count(Map<String, Object> map) {
		return barCodeMapper.count(map);
	}

	@Override
	public int insert(BarCode record) {
		return barCodeMapper.insert(record);
	}

	@Override
	public int insertSelective(BarCode record) {
		return barCodeMapper.insertSelective(record);
	}

	@Override
	public BarCode selectByUuid(String uuid) {
		return barCodeMapper.selectByUuid(uuid);
	}

	@Override
	public BarCode selectByShopUuid(String user_uuid) {
		return barCodeMapper.selectByShopUuid(user_uuid);
	}

	@Override
	public int updateByUuidSelective(BarCode record) {
		return barCodeMapper.updateByUuidSelective(record);
	}

}
